//
//  VisitBodyTableViewCell.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/29.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "VisitBodyTableViewCell.h"

@implementation VisitBodyTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(postListModel *)model{
    _model = model;
    _location.text = model.location;
    _time.text = model.time;
    _introduce.text = model.postContent;
    _topImageView.image = [UIImage imageNamed:model.photos.firstObject];
    _picCount.text = [NSString stringWithFormat:@"共%d张",(int)model.photos.count];
}

@end
